package com.tjp.subject.domain.convert;

import com.tjp.subject.domain.entity.SubjectLabelBO;
import com.tjp.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @program: jz-club
 * @description: 题目标签实体类转换接口
 * @author: aaronTang
 * @create: 2024-02-27
 */
@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBOToLabelEntity(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertEntityListToBOList(List<SubjectLabel> list);

}
